<template>
  <div class="train">
    <div class="top">
      <wback></wback>
      <div>冠军教练-世界冠军带你练！</div>
    </div>
    <div class="drill">
      <img src="../assets/coachdetails/top.jpg" alt="" />
    </div>
    <!-- 教练 -->
    <div class="hkt">教练天团</div>
    <div class="sdutent">
      <div>
        <img src="../assets/index/coach1.jpg" />
        <div>
          <p>宁泽涛</p>
          <p>
            温柔耐心地教授课程，和孩子们打成一片，时不时露出阳光的微笑，你见过这么帅的游泳教练吗？
          </p>
        </div>
        <router-link to="/coachdetails">去看看</router-link>
      </div>
      <div>
        <img src="../assets/index/coach2.jpg" />
        <div>
          <p>傅园慧</p>
          <p>
            这位年轻的运动员来自于浙江杭州。她曾因为出色的成绩和丰富的表情，收获了许多观众的喜爱。
          </p>
        </div>
        <a href="javascript:;">去看看</a>
      </div>
      <div>
        <img src="../assets/index/coach3.jpg" />
        <div>
          <p>孙杨</p>
          <p>
            唯一一位男子200米自由泳奥运会及世锦赛金牌得主，亚洲唯一一位获得世锦赛MVP的游泳运动员。
          </p>
        </div>
        <a href="javascript:;">去看看</a>
      </div>
    </div>
  </div>
</template>
<style>
.train {
  margin: 60px 0 0 0;
  background-color: #570700;
}
.train .top {
  width: 100%;
  position: fixed;
  top: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 60px;
  color: #fff;
  background-color: #5a4e62;
  border-bottom: 1px solid #333;
}
.train .drill {
  width: 100%;
}
.train .drill > img {
  width: 100%;
}
/* 教练 */
.train .hkt {
  width: 30%;
  margin: 20px auto;
  background-color: #dc3545;
  color: #fff;
  font-size: 16px;
  text-align: center;
  height: 40px;
  line-height: 40px;
  border: 2px solid #eebca1;
  position: relative;
}
.train .hkt::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-left: 40px solid #dc3545;
  border-bottom: 20px solid transparent;
  position: absolute;
  right: -40px;
}
.train .hkt::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-right: 40px solid #dc3545;
  border-bottom: 20px solid transparent;
  position: absolute;
  left: -40px;
}
.train .sdutent {
  width: 90%;
  margin: 5px auto;
  border-top: 10px solid #dc3545;
  border-bottom: 10px solid #dc3545;
  border-radius: 5px;
  background-color: #fff;
}
.train .sdutent > div {
  width: 100%;
  height: 120px;
  box-sizing: border-box;
  border: 1px solid #dc3545;
  display: flex;
  align-items: center;
  border-top: 0;
}
.train .sdutent > div > img {
  width: 118px;
  display: inline-block;
  overflow: hidden;
}
.train .sdutent > div > div {
  width: 140px;
  padding: 10px;
}
.train .sdutent > div > div > p {
  text-align: left;
}
.train .sdutent > div > div > :first-child {
  font-size: 16px;
}
.train .sdutent > div > div > :last-child {
  font-size: 12px;
  margin-top: 10px;
}
.train .sdutent > div > a {
  display: block;
  width: 50px;
  height: 30px;
  background-color: #dc3545;
  color: #fff;
  border-radius: 30px;
  line-height: 30px;
}
</style>